package com.itheima.vo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author itheima
 * @Date 2022/5/2 17:13
 */
@Data
@ConfigurationProperties(prefix = "app1")
@Component
public class App {
    private String appId;
    /**
     * 和yaml中属性mch-id可以直接映射
     */
    private String mchId;
    private String[] ips;
}
